package cn.iocoder.yudao.module.infra.controller.admin.job.vo.job;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@Schema(description = "管理后台 - 定时任务分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class JobPageReqVO extends PageParam {

    @Schema(description = "任务名称，模糊匹配", example = "测试任务")
    private String name;

    @Schema(description = "任务状态，参见 JobStatusEnum 枚举", example = "1")
    private Integer status;

    @Schema(description = "处理器的名字，模糊匹配", example = "sysUserSessionTimeoutJob")
    private String handlerName;

    @Schema(description = "任务类型 1系统 2工单", example = "1000")
    private Integer type;

    @Schema(description = "工单类型", example = "1000")
    private Integer ticketType;

    @Schema(description = "检查项", example = "yudao")
    private String inspectionItem;

    @Schema(description = "派单对象", example = "1024")
    private Long operatorId;

    @Schema(description = "区域id", example = "1024")
    private Long areaId;

    @Schema(description = "电站ids", example = "yudao")
    private String siteIds;

    @Schema(description = "超时时长", example = "1")
    private Integer timeoutHour;

}
